<select name="subCategoryId" id="subCategoryId" class="classItem">
  <option value="0">Select SubCategory</option>
  {html_options values=$subCategoryArr.subCategoryId output=$subCategoryArr.subCategoryName selected=$subCategorySelectedId}
</select>